<div id="dialog" title="$dialog.title">
	<p>$dialog.content</p>
</div>
<script type="text/javascript">
	$(function(){
		$( "#dialog" ).dialog({
			autoOpen: false,
			width: 400,
			buttons: [
				{
					text: "$dialog.okButton",
					click: function() {
						$( this ).dialog( "close" );
					}
				},
				{
					text: "$dialog.cancelButton",
					click: function() {
						$( this ).dialog( "close" );
					}
				}
			]
		});
	});
	
</script>